<?php
namespace app\api\controller;
use app\common\controller\Api;
/**
 * Banner模块
*/
class Banner extends Api
{
    protected $noNeedLogin = ['getList'];
    protected $noNeedRight = ['*'];



    /**
     * Banner图
     */
    public function getList(\app\common\model\BannerModel $BannerModel)
    {
        $return = $BannerModel->getList();
        $this->success($return['msg'],$return['data'],$return['code']);
    }

}